package com.bwf.lgqingdan.mvp.model;

import com.bwf.lgqingdan.entity.ArticlesBean;
import com.bwf.lgqingdan.entity.ThingsBean;

import java.util.List;

/**
 * Created by Administrator on 2016/11/20.
 */

public interface SearchDataListModel {
    void loadArticleData(String url, Callback callback);
    void loadThingData(String url, Callback callback);
    public interface Callback{
        void loadArticleSuccess(List<ArticlesBean> articles);
        void loadThingSuccess(List<ThingsBean> things);
        void loadFailed(String failedMsg);
    }
}
